package com.zust.enums;

import lombok.Getter;

/**
 * Created on 2018/3/15.
 * 性别枚举
 * @author Jie
 */
@Getter
public enum  SexEnum implements CodeEnum{

    MALE(1,"男"),
    FEMALE(2,"女"),
    UNKNOWN(0,"未知");

    private Integer code;

    private String message;

    SexEnum(Integer code,String message){
        this.code = code;
        this.message = message;
    }
}
